﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Sql;
using sgsBase;
 
namespace wfTree
{
[Serializable] public class DbFtSptStatus :  DbObject
{
  public DbFtSptStatus() : base()
  {
      Table = "dbo.ft_spt_statuses";
      Database = "sgs_core";
      Columns.AddColumn("status", SqlDbType.Int);
      Columns.AddColumn("descr", SqlDbType.VarChar);
  }
  
  #region Properties
  
      public int Status
      {
          get { return Columns.IntAt(0);}
          set { Columns.SetValAt(0, value);}
      }

      public String Descr
      {
          get { return Columns.StringAt(1);}
          set { Columns.SetValAt(1, value);}
      }

  
  #endregion
}
}
